package com.woniuxy.article.feign;

import com.hc.entity.Shop;
import com.hc.utils.ResponseEntity;
import com.woniuxy.article.utils.gaode.Result;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName ShopFeignClient
 * @Description
 * @Author TJ
 * @Date 2022/10/20 14:58
 * @Version 1.0
 **/
@RequestMapping("goods")
@FeignClient("shop")
public interface ShopFeignClient {
        @GetMapping("/getByGoodsId/{id}")
        public ResponseEntity<Shop> getByGoodsId(@PathVariable(value = "id") int id);



}
